package com.jackeys.piaems.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName: DateUtil
 * @Description: 日期工具类
 * @Author: Jackeys
 * @Date: 2021-06-23 21:01
 * @Version: 1.0
 */
public class DateUtil {
    public static String transfer(Date date){
        return new SimpleDateFormat("yyyy-MM-dd").format(date);
    }
}
